// 专门用来封装与文章相关的请求
// 得到面试技巧
import _fetch from '../utils/request.js'

export function getTechnicApi (params) {
  return _fetch({
    url: '/articles/technic',
    params: params
  })
}

// 得到市场数据
export function getHotApi () {
  return _fetch({
    url: '/chart-data/hot'
  })
}

// 得到面经分享数据
export function getShareApi (params) {
  return _fetch({
    url: '/articles/share',
    params: params
  })
}

export function getSearchTopApi () {
  return _fetch({
    url: '/articles/shareTopSearch'
  })
}
